home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_087
/
warptext
/
warptext.i
< prev
Wrap
Text File
|
1992-05-06
|
2KB
|
28 lines
* ------------------------------------------------------------------------
* graphics/WarpText.i -- The include for an ultra-fast, Bill Kelly
* super_spiffy text-emitting routine. :-) 06/01/87
*
* Copyright 1987 by Bill W. Kelly. All Rights Reserved.
*
* This is meant to go in the Graphics directory of the assembler includes.
* When you assemble WarpText.asm, it includes: "graphics/WarpText.i"
* ------------------------------------------------------------------------
STRUCTURE WarpInfo,0 ; ...the <I> denotes internal use.
APTR wi_TextFont ; Pointer to a TextFont structure.
APTR wi_BitMap ; Pointer to a BitMap structure.
WORD wi_WhichPlane ; Which bitplane to render into.
WORD wi_Left ; Left edge of 'window' in char loc's.
WORD wi_Top ; Top edge of 'window' in char loc's.
WORD wi_Width ; Width of 'window' in char loc's.
WORD wi_Height ; Height of 'window' in char loc's.
APTR wi_WindowTop ; <I> Address of top of 'window.'
APTR wi_CurLine ; <I> Address of start of current line.
APTR wi_LastLine ; <I> Address of start of last line.
WORD wi_CurX ; <I> Current X position.
WORD wi_LastX ; <I> Maximum X position on a line.
WORD wi_BPMod ; <I> # total possible chars on a line in bp
WORD wi_Modulo ; <I> Add this to get to next line.
LABEL wi_SIZE